> help(paste)
> ?paste)
Error: unexpected ')' in "?paste)"
> help(paste)
> ?paste
> paste('THIS is', 'a pen')
[1] "THIS is a pen"
> seq(1, 10, by=2)
[1] 1 3 5 7 9
> rep(1, 5)
[1] 1 1 1 1 1
> a<-1
> a
[1] 1
> rm(a)
> a
Error: object 'a' not found
> ls()
[1] "a1" "a2" "df1" "L" "logical" "m1" "m2"
[8] "m3" "number1" "number2" "string1" "string2" "v1" "v2"
[15] "v4" "v5"
> print(10)
[1] 10
> v1<-c(1:9)
> sum(v1)
[1] 45
> mean(v1)
[1] 5
> median(v1)
[1] 5
> var(v1)
[1] 7.5
> sd(v1)
[1] 2.738613
> max(v1)
[1] 9
> min(v1)
[1] 1
> range(v1)
[1] 1 9
> summary(v1)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1 3 5 5 7 9